package cn.fighter3.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;

@TableName("book_word")
public class SubjectBookWord {

    @TableField("b_id")
    private int bookId;

    @TableField("w_id")
    private int wordId;

    public SubjectBookWord(){}

    public SubjectBookWord(int bookId, int wordId){
        this.bookId = bookId;
        this.wordId = wordId;
    }

    public int getWordId() {
        return wordId;
    }

    public int getBookId() {
        return bookId;
    }
}
